import { configureStore } from '@reduxjs/toolkit'
import adminReducer from './slices/admin'
import workplaceReducer from './slices/workplace'
export const store = configureStore({
    reducer: {
        admin: adminReducer,
        workplace: workplaceReducer
    },
})



export type RootState = ReturnType<typeof store.getState>
export type AppDispatch = typeof store.dispatch